<template>
  <div>
    <Header :back="true"></Header>
    <van-tabs>
      <van-tab v-for="item in tabs" :title="item.name" :key="item.name">
        <div class="list">
          <div>{{item.name}}1</div>
          <div>{{item.name}}2</div>
          <div>{{item.name}}3</div>
        </div>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script>
import Header from "@/components/header";
export default {
  components: {
    Header,
  },
  data() {
    return {
       tabs: [
        {
          name: "所有",
        },
        {
          name: "未签收",
        },
        {
          name: "已签收",
        },
      ],
    }
  },
  methods: {},
};
</script>

<style lang="less" scoped>
/deep/.van-tabs__line {
  width: 33vw;
  background-color: #07c160;
}
/deep/.van-tabs--line .van-tabs__wrap {
  border-bottom: 1px solid #ddd;
}

.list {
  padding: 1rem;
  height: 100vh;
}
</style>